<include file="__THEME__/public_header" />
    <div id="page-wrap">
        <div id="main-wrap">
            <div class="profile-title boxShadow">
                <include file="_top"/> 
            </div>
            <div id="col" class="st-grid boxShadow minh content-bg">
                <php>if($userPrivacy['space'] != 1){</php>
                <include file="_sidebar"/>
                <div id="col5" class="st-index-main">
                <div class="extend-foot">
                    <div class="tab-menu">                              
                        <ul>
                        <li><span><a href="{:U('public/Profile/index',array('type'=>$type,'feed_type'=>'','uid'=>$uid))}">微博</a></span></li>
                        <li class="current"><span><a href="{:U('public/Profile/data',array('uid'=>$uid))}">资料</a></span></li>
                        </ul>
                    </div>
                <div class="feed-nav mt10">
                </div>



                    <div class="mod-data">
                        <div class="profile-datalist">
                            <h4><php>if($uid==$mid){</php><a href="{:U('public/Account/index')}" class="right f12" style="font-weight:normal;">编辑</a><php>}</php>基本信息</h4>
                            <ul class="info">
                                <li><label class="info-l">{:L('PUBLIC_REAL_NAME')}：</label><label class="info-r">{$user_info[$uid]['uname']}</label>&nbsp;</li>
                                <li><label class="info-l">{:L('PUBLIC_GENDER')}：</label><label class="info-r"><php>echo $user_info[$uid]['sex'] == 1 ? L('PUBLIC_MALE') : L('PUBLIC_FEMALE');</php></label>&nbsp;</li>
                                <li><label class="info-l">地区：</label><label class="info-r">{$user_info[$uid]['location']}</label>&nbsp;</li>
                                <php>if(!empty($user_info[$uid]['intro'])){</php><li><label class="info-l">个人简介：</label><label class="info-r">{$user_info[$uid]['intro']}</label>&nbsp;</li><php>}</php>
                            </ul>
                        </div>
                        <volist name='ProfileType' id='vo'>
                            <div class="profile-datalist">
                                <h4><php>if($uid==$mid){</php><a href="{:U('public/Account/'.$vo['field_key'])}" class="right f12" style="font-weight:normal;" >编辑</a><php>}</php>{$vo['field_name']}</h4>
                                <ul class="info">
                                    <volist name='user_profile_setting' id='ups'>
                                        <php>if(!empty($user_profile[$uid][$ups['field_id']]) && $ups['field_type'] == $vo['field_id'] && !empty($user_profile[$uid][$ups['field_id']]['field_data'])){</php>
                                            <li>
                                                <label class="info-l">{$ups['field_name']}：</label>
                                                <label class="info-r">
                                                    <php> 
                                                        $d = $user_profile[$uid][$ups['field_id']]['field_data'];
                                                        if(!empty($d)){
                                                            if($key == 'department') $d = trim($d,'|');
                                                            if($key == 'work_director') $d = $user_info[$d]['space_link'];
                                                        }
                                                        if($ups['form_type'] == 'date') $d = date('Y-m-d',$d);
                                                        echo $d;      
                                                    </php>
                                                </label>
                                                &nbsp;
                                            </li>
                                        <php>}</php>
                                    </volist>
                                </ul>
                            </div>
                        </volist>
                    </div>
                    </div>
                </div>
                <php>}else{</php>
                    <p class="extend">-_-。sorry！根据对方隐私设置，您无权查看TA的主页</p>
                <php>}</php>
            </div>
        </div>
    </div>
<include file="__THEME__/public_footer" />
<script src="__THEME__/js/module.weibo.js"></script>